<?php

/**
 * Participant form.
 *
 * @package    BuLaBuSys2013
 * @subpackage form
 * @author     Maximilian Lenkeit
 * @version    SVN: $Id: sfDoctrineFormTemplate.php 23810 2009-11-12 11:07:44Z Kris.Wallsmith $
 */
class ParticipantForm extends BaseParticipantForm
{
  public function configure()
  {
    unset($this['created_at'], $this['updated_at'], $this['deleted_at'], $this['created_by'], $this['updated_by'], $this['deleted_by']);
    $this->widgetSchema['gender'] = new WidgetFormChoiceGender();
    $this->widgetSchema['age_group'] = new WidgetFormChoiceAgeGroup();
    $this->widgetSchema['date_of_birth'] = new WidgetFormInputDate();
    $this->widgetSchema['accomodation'] = new WidgetFormChoiceAccomodation();
  }
}
